package stringzy;

public class TrimDemo {
    public static void main(String[] args) {
        String str = "        hellow word       ";
        str=str.trim();
        System.out.println(str);

//        String str = "        hellow word       ";
//        str=str.trim();
//        System.out.println(str);
    }
}
